home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / init.d / stop-bootlogd < prev    next >
Text File  |  2008-10-14  |  525b  |  31 lines

  1. #! /bin/sh
  2. ### BEGIN INIT INFO
  3. # Provides:          stop-bootlogd
  4. # Required-Start:    $remote_fs rmnologin
  5. # Required-Stop:
  6. # Default-Start:     2 3 4 5
  7. # Default-Stop:
  8. # Short-Description: Stop bootlogd
  9. # Description:       See the init.d/bootlogd script
  10. ### END INIT INFO
  11.  
  12. NAME=stop-bootlogd
  13. DAEMON=/sbin/bootlogd
  14.  
  15. [ -x "$DAEMON" ] || exit 0
  16.  
  17. case "$1" in
  18.   start)
  19.     /etc/init.d/bootlogd stop
  20.     ;;
  21.   stop|restart|force-reload)
  22.     # No-op
  23.     ;;
  24.   *)
  25.     echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
  26.     exit 3
  27.     ;;
  28. esac
  29.  
  30. :
  31.